package com.qy.dao;

import com.qy.base.core.Mapper;
import com.qy.model.Member;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

import java.util.List;
import java.util.Map;

public interface MemberMapper extends Mapper<Member> {
    public List<Map> selectAllByName(@Param("searchContent") String searchContent);

    public List<Map> selectPolicy(@Param("searchContent") String searchContent);

    public List<Map> selectUnit(@Param("searchContent") String searchContent);

    public List<Map> selectCharge(@Param("searchContent") String searchContent);

    public List<Map> selectPolicys(@Param("searchContent1") String searchContent1, @Param("searchContent2") String searchContent2);

    public List<Map> selectUnits(@Param("searchContent1") String searchContent1, @Param("searchContent2") String searchContent2);

    public List<Map> selectCharges(@Param("searchContent1") String searchContent1, @Param("searchContent2") String searchContent2);

    public List<Map> selectAllByCity(@Param("searchContent") String searchContent);

    public List<Map> selectMemberList(Member member);

    public void memberState(Member member);

    public List<Map> seeMember(Integer id);

    public List<Map> selectPolicyList(Member member);

    public List<Map> selectUnitList(Member member);

    public List<Map> selectChargeList(Member member);

    public List<Map> selectRecordByUserId(Member member);

    public List<Member> selectMemberListByOpenid(String openid);
}